package com.ndp.fb.creative.fetchdata.dao.domain;

import java.io.Serializable;
import java.util.Date;

public class AccountImage implements Serializable {
    /**
     * 描述   (@author: yanghao)
     */

    private static final long serialVersionUID = 6071305256892238136L;
    private Long id;
    private String userId;
    private String name;

    private String accountId; // facebook帐号id
    private String imageId;// 图片id
    private Integer uploadSatus; // 0=未上传;1=成功;-1=上传失败
    private Integer isNeedUpload; // 0=需要;1=不需要
    private Integer uploadCounts;// 上次次数
    private Date uploadTime;//上传时间
    private String hashCode; // hashcode
    private String fbUrl; // facebook图片访问URl

    private Integer isDelete; // 是否不可用 默认 0:可用 1:不可用

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public Integer getUploadSatus() {
        return uploadSatus;
    }

    public void setUploadSatus(Integer uploadSatus) {
        this.uploadSatus = uploadSatus;
    }

    public Integer getIsNeedUpload() {
        return isNeedUpload;
    }

    public void setIsNeedUpload(Integer isNeedUpload) {
        this.isNeedUpload = isNeedUpload;
    }

    public Integer getUploadCounts() {
        return uploadCounts;
    }

    public void setUploadCounts(Integer uploadCounts) {
        this.uploadCounts = uploadCounts;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getHashCode() {
        return hashCode;
    }

    public void setHashCode(String hashCode) {
        this.hashCode = hashCode;
    }

    public String getFbUrl() {
        return fbUrl;
    }

    public void setFbUrl(String fbUrl) {
        this.fbUrl = fbUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
